home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 050 / madtrb17.arc / SPELLER.DOC < prev    next >
Encoding:
Text File  |  1985-06-15  |  4.9 KB  |  86 lines

  1.                                  SPELLER
  2.  
  3.                        AN ASCII FILE SPELL CHECKER
  4.  
  5.                                    by
  6.  
  7.                                John Leeson
  8.  
  9.                      
  10. This spell checker works on ASCII files to create a list of misspelled or 
  11. possibly misspelled words.  
  12.  
  13. The program is activated by the command 
  14.  
  15.        SPELLER [filespec]
  16.  
  17. where filespec is the name of the text file to be spell checked. If omitted 
  18. then the program will ask for the name. The name may include a drive specifier 
  19. and/or a path in accordance with DOS syntax for a filespec. The drive 
  20. containing the text file must not be write protected since the output file 
  21. containing the list of possible misspelled words will be written to the same 
  22. drive as the source file is located on. Also, the output file will have the 
  23. same name as the source file except it will have an extension of 'MIS'. If the 
  24. source file had an extension then the extension will be replaced by the '.MIS' 
  25. otherwise the '.MIS' will be appended to the name. The spelling list must be in 
  26. the same directory and drive as the program 'SPELLER.COM' and this directory 
  27. must be either the default directory or else the DOS 'PATH' must be set up to 
  28. include the drive and path to the directory containing 'SPELLER.COM and 
  29. 'SPELLER.MIS'.  
  30.  
  31. When the program completes, it will have generated a file called 'name.MIS' on 
  32. your document disk. This file can be used to check the spelling of the possibly 
  33. misspelled words, hunt for and correct the words which are misspelled, and then 
  34. for updating the spelling check dictionary. I use PC-Write (C) to edit my 
  35. document then copy in the file 'name.MIS' at the start of the document. Then I 
  36. use the words in the list to mark them and the find/replace function to find 
  37. the marked word for correction.  
  38.  
  39. After editing the file 'name.MIS' to remove the words which you don't want to 
  40. add to the spelling list, then this file can be moved to the directory 
  41. containing the SPELLER.LIS file and SPELLUPD.COM file for updating the spelling 
  42. list. Run the program SPELLUPD which adds the words in the file 'name.MIS' to 
  43. SPELLER.LIS. This is accomplished in SPELLUPD by deleting file 'SPELLER.LI$' 
  44. and renaming the 'SPELLER.LIS' file to 'SPELLER.LI$', then a new 'SPELLER.LIS' 
  45. file is created by adding the new words. With all of this file manipulating it 
  46. is a very good idea to keep a separate backup copy of the spelling list file in 
  47. case something goes wrong.  
  48.  
  49. The dictionary has about 4800 words in it at the present time.  Contractions 
  50. are included in the spelling checker and in the dictionary.  In the event that 
  51. the dictionary file gets messed up with duplicate words or words which are out 
  52. of order then the spell check will find words which it thinks are not in the 
  53. dictionary. For this reason there is another little program on the disk which 
  54. is called SPELLCHK.COM. This program just goes through the dictionary looking 
  55. for words which are not in alphabetical order and counting the dictionary words 
  56. as it goes. It prints the pairs of words to the screen which are not in the 
  57. correct sequence.  When it gets done you can use your favorite line editor to 
  58. edit the dictionary file to eliminate the out of place or duplicate words.  
  59.  
  60. If you have been using the BASIC program by Andy Wildenberg called PC-SPELL 
  61. version 1.15 (or later?) and want to keep using the list of words which you 
  62. have already established as your dictionary then that can be done. The list 
  63. must be renamed to 'SPELLER.LIS' for SPELLER to use it. It is recommended that 
  64. you use SPELLER to spell check your PC-SPELL spelling list and then use 
  65. SPELLUPD to update the SPELLER.LIS file. In this way you will get the combined 
  66. total of both spelling lists and also get rid of any duplicate or out of place 
  67. words in the PC-SPELL dictionary file which PC-SPELL sometimes adds. You might 
  68. also want to check the spelling of the word list you get out of the spell check 
  69. of the PC-SPELL dictionary since in the copy I downloaded a long time ago there 
  70. were a lot of misspelled words in the list. It takes a lot of time to check 
  71. this list against a dictionary but it is worthwhile to get an accurate spelling 
  72. checker.
  73.  
  74. Send comments or whatever to me at the below address if you wish to. The 
  75. program is written in PASCAL and compiled with TURBO 3.0 by Borland 
  76. International. The source code includes the use of some of the special 
  77. extensions available in TURBO 3.0.  
  78.  
  79.                                         John Leeson
  80.                                         466 Merritt Rd.
  81.                                         Central City, Ia. 52214
  82.                                         (319) 854-7419
  83.  
  84.  
  85. NOTE: PC-Write is (C) Copyright 1983 by Bob Wallace, Quicksoft.
  86.